from django.conf.urls import url, include
from wenjuancgx import views

urlpatterns = [

    #各省草稿箱首页
    url(r'^wenjuancgx_index/(.+)/$',views.wenjuancgx_index,name='wenjuancgx_index'),
    #各省草稿箱页面
    url(r'^wenjuancgx/(?P<province>\w+)/(?P<no>\w+)/$',views.wenjuancgx,name='wenjuancgx'),
    #各省草稿箱处理
    url(r'^wenjuancgx_solve/(?P<province>\w+)/(?P<no>\w+)/$', views.wenjuancgx_solve, name='wenjuancgx_solve'), 
    #湖南省专用草稿箱处理
    url(r'^wenjuancgx_hunan_solve/(.+)/$', views.wenjuancgx_hunan_solve, name='wenjuancgx_hunan_solve'), 
    #导出草稿箱问卷
    url(r'^ExportWenjuancgx/(?P<user>\w+)/(?P<no>\w+)/$', views.ExportWenjuancgx, name='ExportWenjuancgx'),

    url(r'^DelWenjuan1_cgx/', views.DelWenjuan1_cgx, name='DelWenjuan1_cgx'),  # 删除脑出血患者调查手册(存在草稿箱中的)
    url(r'^DelWenjuan2_cgx/', views.DelWenjuan2_cgx, name='DelWenjuan2_cgx'),  # 删除健康人群调查手册(存在草稿箱中的)
    url(r'^DelWenjuan4_cgx/', views.DelWenjuan4_cgx, name='DelWenjuan4_cgx'),  # 删除健康人群调查问卷(体检中心)(存在草稿箱中的)
    url(r'^DelWenjuan5_cgx/', views.DelWenjuan5_cgx, name='DelWenjuan5_cgx'),  # 删除患者调查记录(医院)(存在草稿箱中的)
    url(r'^DelWenjuan6_cgx/', views.DelWenjuan6_cgx, name='DelWenjuan6_cgx'),  # 删除随访患者调查记录(存在草稿箱中的)
    url(r'^DelWenjuan7_cgx/', views.DelWenjuan7_cgx, name='DelWenjuan7_cgx'),  # 删除入户筛查表记录(存在草稿箱中的)
    url(r'^DelWenjuan8_cgx/', views.DelWenjuan8_cgx, name='DelWenjuan8_cgx'),
    url(r'^DelWenjuan9_cgx/', views.DelWenjuan9_cgx, name='DelWenjuan9_cgx'),
    url(r'^DelWenjuan10_cgx/', views.DelWenjuan10_cgx, name='DelWenjuan10_cgx'),
]
